const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    port: process.env.port,
    proxy: {
      '/api': {
        target: 'https://likede2-admin.itheima.net/likede',
        ws: true,
        changeOrigin: true,
        lintOnSave: false,
      },
    },
  },
});
